package com.lu.factory;

import com.lu.bean.User;
import com.lu.bean.impl.UserImpl;

public class UserFactory1 {
    public static User getUser(){
        System.out.println("静态工厂实现了");
        return new UserImpl("zhangsan",18);
    }
}
